package com.cortext.pineapple.link;

import com.cortex.pineapple.fetch.RequestData.SOURCE_TYPE;


public class VideoLink extends Link{

	private double runTime;
	private double fileSize, width, height;
	private String imageUrl;
	
	public VideoLink(String id, String title, String videoUrl, double runTime,
			String imageUrl,double fileSize, double width, double height) {
		super(id,title,videoUrl);
		this.runTime = runTime;
		this.imageUrl = imageUrl;
		this.fileSize = fileSize;
		this.width = width;
		this.height = height;
	}
	public double getRunTime() {
		return runTime;
	}
	public void setRunTime(double runTime) {
		this.runTime = runTime;
	}
	public double getFileSize() {
		return fileSize;
	}
	public void setFileSize(double fileSize) {
		this.fileSize = fileSize;
	}
	public double getWidth() {
		return width;
	}
	public void setWidth(double width) {
		this.width = width;
	}
	public double getHeight() {
		return height;
	}
	public void setHeight(double height) {
		this.height = height;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	@Override
	public SOURCE_TYPE getSourceType() {
		return SOURCE_TYPE.VIDEO;
	}
}
